Space Wars C# Unity Engine Game.

Project Overview

A fast-paced vertical scroller where players control a green fighter ship, battling waves of red enemy ships while dodging asteroids. Built in Unity with C#, featuring:

  • Dynamic enemy spawning with random wave spawning
  • Audio system with music/SFX and volume control
  • Score-based progression (destroy X ships to win)

Key Features

Player Controls and Objectives

  • Thrusters (↑↓←→)
  • Laser fire (Left Click)
  • Screen-wrap movement (exit one side, enter the other)
  • Avoid asteroids (instant death)
  • Destroy 15+ enemy ships to win

Wave System

  • Enemy Squadrons: Groups of red fighters descend in smooth, sine-wave motions, making them harder to hit as they weave across the screen. Their numbers and movement intensity grow with each passing wave.
  • Asteroid Clusters: Chunks of space debris tumble at varying speeds, forcing players to constantly reassess their flight path.
  • Elusive Medpacks: Occasionally, a rare health pack appears amidst the chaos. Grabbing one restores vitality.

Audio Implementation

  • SoundFX implemented with when the gun is fired and when the player hits an enemy ship
  • Separate sliders for Music/SFX/Master (UI menu)